﻿<?xml version="1.0" encoding="utf-8" ?>
<FieldTypes>
  <FieldType>
    <Field Name="TypeName">ContentLookupField</Field>
    <Field Name="TypeDisplayName">Version3.ContentLookupField</Field>
    <Field Name="ParentType">MultiChoice</Field>
    <Field Name="TypeShortDescription">Cross list lookup field with content tag propagation</Field>
    <Field Name="FieldTypeClass">Version3.SharePoint.ContentLookupField,Version3.ContentLookupSiteColumn, Version=1.0.0.0, Culture=neutral, PublicKeyToken=d055e77f5fe6a467</Field>
    <Field Name="FieldEditorUserControl">/_controltemplates/ContentLookupFieldPropertyEditor.ascx</Field>
    <Field Name="Sortable">FALSE</Field>
    <Field Name="Filterable">TRUE</Field>
    <Field Name="UserCreatable">TRUE</Field>
    <PropertySchema>
      <Fields>
        <Field Name="WebURL" Hidden="TRUE" DisplayName="WebURL" Type="Text" MaxLength="255">
          <Default></Default>
        </Field>
        <Field Name="ListName" Hidden="TRUE" DisplayName="ListName" Type="Text" MaxLength="255">
          <Default></Default>
        </Field>
        <Field Name="FieldOne" Hidden="TRUE" DisplayName="FieldOne" Type="Text" MaxLength="255">
          <Default></Default>
        </Field>
        <Field Name="FieldTwo" Hidden="TRUE" DisplayName="FieldTwo" Type="Text" MaxLength="255">
          <Default></Default>
        </Field>
        <Field Name="FieldThree" Hidden="TRUE" DisplayName="FieldThree" Type="Text" MaxLength="255">
          <Default></Default>
        </Field>
      </Fields>
    </PropertySchema>
    <RenderPattern Name="HeaderPattern">
      <Switch>
        <Expr>
          <Property Select='Filterable'/>
        </Expr>
        <Case Value="FALSE"> </Case>
        <Default>
          <Switch>
            <Expr>
              <GetVar Name='Filter'/>
            </Expr>
            <Case Value='1'>
              <HTML><![CDATA[<SELECT ID="diidFilter]]></HTML>
              <Property Select='Name'/>
              <HTML>                  <![CDATA[" TITLE=]]></HTML>
              <HTML>"$Resources:core,501;</HTML>
              <Property Select='DisplayName' HTMLEncode='TRUE'/>
              <HTML><![CDATA[" OnChange='FilterField("]]></HTML>
              <GetVar Name="View"/>
              <HTML><![CDATA[",]]></HTML>
              <ScriptQuote>
                <Property Select='Name' URLEncode="TRUE"/>
              </ScriptQuote>
              <HTML><![CDATA[,this.options[this.selectedIndex].value, this.selectedIndex);' dir="]]></HTML>
              <Property Select="Direction" HTMLEncode="TRUE"/>
              <HTML><![CDATA[">]]></HTML>
              <FieldFilterOptions BooleanTrue="$Resources:core,fld_yes;" BooleanFalse="$Resources:core,fld_no;" NullString="$Resources:core,fld_empty;" AllItems="$Resources:core,fld_all;"></FieldFilterOptions>
              <HTML><![CDATA[</SELECT><BR>]]></HTML>
            </Case>
          </Switch>
        </Default>
      </Switch>
      <Property Select='DisplayName' HTMLEncode='TRUE'/>
      <HTML><![CDATA[<IMG SRC="]]></HTML>
      <FieldFilterImageURL/>
      <HTML><![CDATA[" BORDER=0 ALT="">]]></HTML>
    </RenderPattern>
    <RenderPattern Name="DisplayPattern">
      <Column HTMLEncode="TRUE"/>
    </RenderPattern>
  </FieldType>
</FieldTypes>
